<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE html>
<html lang="en">
        <?php $name=session('name'); ?>
          <head>
              <meta charset="utf-8">
            <title>约健11组</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="约健11组">
    <link rel="shortcut icon" href="/toys/Public/assets_a/ico/favicon.html">
<link href="/toys/Public/assets_a/css/bootstrap.css" rel="stylesheet">
<link href="/toys/Public/assets_a/css/theme.css" rel="stylesheet">
<link href="/toys/Public/assets_a/css/font-awesome.min.css" rel="stylesheet">
<link href="/toys/Public/assets_a/css/alertify.css" rel="stylesheet">

<script type="text/javascript" src="/toys/Public/assets_a/js/jquery.min.js"></script>
<script type="text/javascript" src="/toys/Public/assets_a/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/toys/Public/assets_a/js/raphael-min.js"></script>
<script type="text/javascript" src="/toys/Public/assets_a/js/bootstrap.js"></script>
<script type="text/javascript" src='/toys/Public/assets_a/js/sparkline.js'></script>
<script type="text/javascript" src='/toys/Public/assets_a/js/morris.min.js'></script>
<script type="text/javascript" src="/toys/Public/assets_a/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/toys/Public/assets_a/js/jquery.masonry.min.js"></script>
<script type="text/javascript" src="/toys/Public/assets_a/js/jquery.imagesloaded.min.js"></script>
<script type="text/javascript" src="/toys/Public/assets_a/js/jquery.facybox.js"></script>
<script type="text/javascript" src="/toys/Public/assets_a/js/jquery.alertify.min.js"></script>
<script type="text/javascript" src="/toys/Public/assets_a/js/jquery.knob.js"></script>
<script type='text/javascript' src='/toys/Public/assets_a/js/fullcalendar.min.js'></script>
<script type='text/javascript' src='/toys/Public/assets_a/js/jquery.gritter.min.js'></script>
<script type="text/javascript" src="/toys/Public/assets_a/js/realm.js"></script>
   
</head>
<body>

<div id="wrap">
    <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container-fluid">
                <div class="logo">
                    <img  src="/toys/Public/assets_a/img/logo1.png" alt="caffe">
                </div>
                <a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </a>
                <a class="btn btn-navbar slide_menu_left visible-tablet">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </a>

                <div class="top-menu visible-desktop">

                    <ul class="pull-right">
                        <li><a href="/toys/Admin/Index/logout"><i class="icon-off"></i> 注销</a></li>
                    </ul>
                </div>

            </div>
        </div>
    </div>
     <div class="container-fluid">
        <!-- Side menu -->
<div class="sidebar-nav nav-collapse collapse">
    <div class="user_side clearfix">
        <img src="/toys/Public/assets_a/img/2.jpg" alt="">
        <!--<h5 align="">Admin</h5>-->
        <!--<a href="#"><i class="icon-cog"></i> Settings</a>-->
    </div>
    <div class="accordion" id="accordion2">


      

        <div class="accordion-group">
            <div class="accordion-heading">
                <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse_city"><i class="icon-reorder"></i> <span>用户信息</span></a>
            </div>
            <div id="collapse_city" class="accordion-body collapse">
                <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('User/userlist');?>"><i class="icon-table"></i> 用户列表</a>

                </div>
            </div>
        </div>

        <div class="accordion-group">
            <div class="accordion-heading">
                <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse2"><i class="icon-reorder"></i> <span>运动项目</span></a>
            </div>
            <div id="collapse2" class="accordion-body collapse">
                <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('Seller/sellerlist');?>"><i class="icon-table"></i> 培训管理</a>
                </div>
                 <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('Seller/trainlist');?>"><i class="icon-table"></i> 活动管理</a>
              </div>
            
                <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('Seller/sellerlist');?>"><i class="icon-table"></i> 比赛管理</a>
                 </div>
            </div>
            
            
        </div>

        <div class="accordion-group">
            <div class="accordion-heading">
                <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse3"><i class="icon-reorder"></i> <span>想入手买家信息</span></a>
            </div>
            <div id="collapse3" class="accordion-body collapse">
                <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('Buyer/buyerlist');?>"><i class="icon-table"></i> 买家信息列表</a>

                </div>
            </div>
        </div>

        <div class="accordion-group">
            <div class="accordion-heading">
                <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse4"><i class="icon-reorder"></i> <span>收件人地址</span></a>
            </div>
            <div id="collapse4" class="accordion-body collapse">
                <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('Dress/dresslist');?>"><i class="icon-table"></i> 地址信息列表</a>
                </div>
            </div>
        </div>

          <div class="accordion-group">
            <div class="accordion-heading">
                <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse_province"><i class="icon-reorder"></i> <span>数据统计与分析</span></a>
            </div>
            <div id="collapse_province" class="accordion-body collapse">
                <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('Index/count');?>"><i class="icon-table"></i> 数据统计</a>

                </div>
            </div>
        </div>

        <div class="accordion-group">
            <div class="accordion-heading">
                <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse5"><i class="icon-reorder"></i> <span>首页轮播图片</span></a>
            </div>
            <div id="collapse5" class="accordion-body collapse">
                <div class="accordion-inner">
                    <a class="accordion-toggle" href="<?php echo U('Adpic/adpiclist');?>"><i class="icon-table"></i> 首页轮播图片管理</a>
                    <a class="accordion-toggle" href="<?php echo U('Adpic/regadpic');?>"><i class="icon-table"></i> 上传轮播图片</a>
                </div>
            </div>
        </div>

       
    </div>
</div>

<!-- /Side menu -->

        <!-- Side menu -->
        <!-- 引用header.html -->
        <!-- /Side menu -->
        
        <!-- Main window -->
        <div class="main_container" id="users_page">

            <div class="row-fluid">

                <h2 class="heading">
                    培训管理
                </h2>
            </div> <!-- /row-fluid -->

            <!--此处往下为代码改写部分-->
            <div class="row-fluid">
                <div class="widget widget-padding span12">
                    <div class="widget-header">
                        <i class="icon-group"></i>
                        <h5>增加培训相关信息</h5>
                        <div class="widget-buttons">
                            <!--<a href="#" data-title="Add User" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>-->
                            <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
                        </div>
                    </div>
                
            <form class="form-horizontal"  method="post" action="/toys/Admin/Seller/adddtrain" enctype="multipart/form-data">
                
        <div class="widget-body">
              <div class="widget-forms clearfix">
                <form class="form-horizontal">
    

    
                    <div class="control-group">
                    <label class="control-label">培训名称:</label>
                    <div class="controls">
                      <input class="span7 tip" name="name"  type="text">
                    </div>
                </div>




                   <div class="control-group">
                    <label class="control-label">培训名称:</label>
                    <div class="controls">
                      <input class="span7 tip" name="name"  type="text">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">培训介绍:</label>
                    <div class="controls">
                      <input class="span7 tip" name="introduce"  type="text" >
                    </div>
                </div>




                <div class="control-group">
                    <label class="control-label">培训时间:</label>
                    <div class="controls">
                      <input class="span7 tip" name="time"  type="text" >
                    </div>
                </div>

               <div class="control-group">
                    <label class="control-label">培训地址:</label>
                    <div class="controls">
                      <input class="span7 tip" name="address"   type="text">
                    </div>
                </div>

              <div class="control-group">
                    <label class="control-label">培训事项:</label>
                    <div class="controls">
                      <input class="span7 tip" name="notice"   type="text" >
                    </div>
                </div>

  <div class="control-group">
 <label for="inputdegree" class="col-md-3 control-label">培训类型</label>
      <div class="col-md-6">
        <select class="form-control" name="classify" id="">
        <option value="1">入门</option> 
        <option value="2">菜鸟</option>
        <option value="3">进阶</option> 
       </select>
        </div>
</div>







                <div class="control-group">
                    <label class="control-label">培训状态</label>
                    <div class="controls">
                       
                      <label class="radio">
                        <input type="radio" name="isfinish" id="optionsRadios1" value="0">报名开启
                      </label> 
                      <label class="radio">
                        <input type="radio" name="isfinish" id="optionsRadios2" value="1" >报名结束
                      </label> 
                    </div>

                 <div class="control-group">
                    <label class="control-label">头像:</label>
                    <div class="controls">
                      <img class="img-circle"  src="" width="90" height="80" alt="未上传头像"> 
                    </div>
                </div>

                    <div class="form-group">
                    <label class="control-label">头像</label>
                     <div class="controls">
                        <input type="file" name="picture">  
                    </div>             
                 </div>
            
            <div class="widget-footer">
            <div class="controls">
               <button class="btn btn-primary" type="submit">发布培训信息</button>
               <a href="#" onClick="javascript :history.back(-1);"><button class="btn" type="button">取消</button></a>
            </div>
            </div>
            </form>
          </div>
        </div> 
                </div> <!-- /widget -->
            </div> <!-- /row-fluid -->

        </div>
        <!-- /Main window -->

    </div><!--/.fluid-container-->
</div><!-- wrap ends-->
</body>
</html>